package com.example.ly.myapplication;

import android.app.IntentService;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

public class FtpService extends IntentService{
    public FtpService() {
        super("john");
    }

    @Override
    protected void onHandleIntent(Intent intent) {
        Log.i("john",Thread.currentThread().getName());
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        Log.i("john","working.....");
    }


}
